#ifndef SENSOR_AUTOBASE_H
#define SENSOR_AUTOBASE_H

#include "algo_include.h"
#include "autobase.h"


void AB_Init();
void AB_Start(uint8 calib, uint32 n, float b0, float b);
float AB_Calc(float sg, uint8 badsg, float minsg, uint8 update);
void AB_Calib(float sg, float b);
int32 AB_GetN();
float AB_GetB0();
float AB_GetB();


#endif // SENSOR_AUTOBASE_H
